package com.wcgksoft.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Controller
public class InvitationContent {

    @RequestMapping("/invitation")
    public String test(HttpServletRequest req, ModelMap modelMap, HttpServletResponse response, @RequestParam(value = "id") Integer id) {
        modelMap.put("id", id);
        return "zuche";//返回 /WEB-INF/view 下的 login.html
    }

}
